/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package slt.Dao;

import java.util.List;

public interface GenericDAO<T> {
    
    public List<T> listAll();
    
    public T getById(long id);
    
    public int insert(T t);
    
    public int update(T t);
    
    public int delete(long id);
}
